// ==LICENSE-BEGIN==
// Copyright 2017 European Digital Reading Lab. All rights reserved.
// Licensed to the Readium Foundation under one or more contributor license agreements.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file exposed on Github (readium) in the project repository.
// ==LICENSE-END==

// import { injectable} from "inversify";

// import { LocatorDocument } from "readium-desktop/main/db/document/locator";

// import { LocatorView } from "readium-desktop/common/views/locator";

// @injectable()
// export class LocatorViewConverter {
//     public convertDocumentToView(doc: LocatorDocument): LocatorView {
//         return {
//             identifier: doc.identifier,
//             publicationIdentifier: doc.publicationIdentifier,
//             locator: Object.assign({}, doc.locator),
//             locatorType: doc.locatorType,
//             name: doc.name,
//         };
//     }
// }
